package com.example.easybuy.dao;

import com.example.easybuy.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserDao {

    /*添加用户*/
    public int addUser(com.example.easybuy.pojo.User user);

    /*查询登录名是否存在*/
    public User getLoginName(@Param("loginName")String loginName);




}
